package com.firefighting.entity;

import java.util.Date;

import javax.persistence.Transient;

public class Location {
    private Integer id;

    private String longitude;

    private String latitude;

    private Integer userid;

    private Date time;

    private Integer taskId;

    private String signStatus;

    private Integer distance;
     
    @Transient
    private UserBasicInfo userBasicInfo;
    
    @Transient
    private Task task;
    
    @Transient
    private Enterprise enterpriseEntity;
    
    
    

    public UserBasicInfo getUserBasicInfo() {
		return userBasicInfo;
	}

	public void setUserBasicInfo(UserBasicInfo userBasicInfo) {
		this.userBasicInfo = userBasicInfo;
	}

	public Task getTask() {
		return task;
	}

	public void setTask(Task task) {
		this.task = task;
	}

	public Enterprise getEnterprise() {
		return enterpriseEntity;
	}

	public void setEnterprise(Enterprise enterprise) {
		this.enterpriseEntity = enterprise;
	}

	public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getLongitude() {
        return longitude;
    }

    public void setLongitude(String longitude) {
        this.longitude = longitude == null ? null : longitude.trim();
    }

    public String getLatitude() {
        return latitude;
    }

    public void setLatitude(String latitude) {
        this.latitude = latitude == null ? null : latitude.trim();
    }

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public Integer getTaskId() {
        return taskId;
    }

    public void setTaskId(Integer taskId) {
        this.taskId = taskId;
    }

    public String getSignStatus() {
        return signStatus;
    }

    public void setSignStatus(String signStatus) {
        this.signStatus = signStatus == null ? null : signStatus.trim();
    }

    public Integer getDistance() {
        return distance;
    }

    public void setDistance(Integer distance) {
        this.distance = distance;
    }
}